package com.jdbc.pool;

import java.sql.Connection;

/**
 * @author long
 */
public interface IPool {

    /**
     * 取新的数据库连接
     * @return Connection
     * @throws InterruptedException
     */
    Connection getPoolConnection() throws InterruptedException;

}
